package com.speily.server.search.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Auther: SPL
 * @Date: 2019-07-29 13:43
 * @Description: - 常用跳转
 */
@Controller
public class IndexController {

    /**
     * 主页
     * @return
     */
    @RequestMapping(value = {"/" ,"/index","/index.html"})
    public String indexPage(){
        return "index";
    }

    /**
     * 获取主页数据<br>
     *     时间倒序，分页
     * @return
     */
    @RequestMapping("/getIndexData")
    @ResponseBody
    public Object getIndexData(){



        return null;
    }

}
